<template>
  <div>
      Foo
      {{ username }}
  </div>
</template>

<script>
  export default {
      computed: {
        username() {
          console.log('this.$router',this.$router);
          return 123;
        }
      }
  }
</script>

<style lang='scss' scoped>
</style>